package org.roy.demo;

import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;

import org.roy.uibase.app.Application;
import org.roy.uibase.component.MainScreen;

public class Demo extends MIDlet {

    public Demo() {
    }

    protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
    }

    protected void pauseApp() {
    }

    protected void startApp() throws MIDletStateChangeException {
        MainScreen screen = new MainScreen();
        Application application = Application.getApplication(this);
        application.pushScreen(screen);
        application.exec();
    }

}
